<br>
<div class="row container">
  <table>
    <?php
    $db = new Db_model();
    $result = $db->get_data($_REQUEST['page']);
    if ($result['1'] == 'false') {
      echo "Check query.";
    } else {
      foreach ($result as $rows) {
        echo '<tr><td>' . $rows['bID'] . '</td><td>' . $rows['bDateAdded'] . '</td></tr>';
      }
    }
    ?>
    <tr>
      <td>
        <a href="/tsdev/test/db?page=<?php echo $_REQUEST['page'] + 1 ?>">next</a>
        <?php
        if ($_REQUEST['page'] > 1) {
          ; //echo ('<a href=/tsdev/test/db?page='.$_REQUEST[/'page/']-1.'>back</a>') ;
        }
        ?>
      </td>
    </tr>
  </table>
</div>

